package com.geekgo.flowcontroller.core.acquire;

import com.google.common.util.concurrent.RateLimiter;

/**
 * @author geekgo
 * @version 2016/8/4 10:14
 */
public abstract class RateLimitAcquirable implements IRLimitAcquirable{

    private RateLimiter rateLimiter;

    public RateLimitAcquirable(RateLimiter rateLimiter) {
        this.rateLimiter = rateLimiter;
    }

    public RateLimiter getRateLimiter() {
        return rateLimiter;
    }
}
